[Backport] Fixed subscribe to newsletter if you already have an account issue#18912
Conversation
|
Hi @ravi-chandra3197. Thank you for your contribution
For more details, please, review the Magento Contributor Assistant documentation |
| throw new LocalizedException( | ||
| __('This email address is already assigned to another user.') | ||
| ); | ||
| if ($this->_customerSession->getCustomerDataObject()->getEmail()) { |
There was a problem hiding this comment.
Please, combine two if statements to one
|
Hello @sidolov |
|
Hello @sidolov |
|
Hello @sidolov |
orlangur
left a comment
There was a problem hiding this comment.
Nowadays all changes must be applied to 2.3-develop first (see https://devdocs.magento.com/guides/v2.3/contributor-guide/contributing.html#rules). Please prepare a new pull request, this one should be on hold until the latter is merged.
|
@ravi-chandra3197 after 2.3 PR is merged, please rewrite history of this branch to reflect it (cherry pick the only meaningful commit). |
…date changes as per travis change session message
700fa02 to
b1fc4a7
Compare
|
Hello, @orlangur I have rewrite branch history with single commit can review it. |
|
Hi @orlangur, thank you for the review. |
…have an account issue #18912
|
Hi @ravi-chandra3197. Thank you for your contribution. Please, consider to port this solution to 2.3 release line. |
Description (*)
Fixed subscribe to newsletter if you already have an account issue
Fixed Issues (if relevant)
Manual testing scenarios (*)
N/A
Contribution checklist (*)